$OpenBSD: patch-build_premake_premake4_build_gmake_bsd_Premake4_make,v 1.2 2014/10/19 07:46:45 bentley Exp $
--- build/premake/premake4/build/gmake.bsd/Premake4.make.orig.port	Sun Aug 19 12:49:02 2012
+++ build/premake/premake4/build/gmake.bsd/Premake4.make	Sun Oct 12 21:12:18 2014
@@ -26,8 +26,8 @@ ifeq ($(config),release)
   DEFINES   += -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN
   INCLUDES  += -I../../src/host/lua-5.1.4/src
   CPPFLAGS  += -MMD -MP $(DEFINES) $(INCLUDES)
-  CFLAGS    += $(CPPFLAGS) -Wall -Os
-  CXXFLAGS  += $(CPPFLAGS) -Wall -Os
+  CFLAGS    += $(CPPFLAGS) -Wall
+  CXXFLAGS  += $(CPPFLAGS) -Wall
   LDFLAGS   += -s -rdynamic
   LIBS      += -lm
   RESFLAGS  += $(DEFINES) $(INCLUDES) 
@@ -302,4 +302,4 @@ $(OBJDIR)/lauxlib.o: ../../src/host/lua-5.1.4/src/laux
 	$(SILENT) $(CC) $(PCHINCLUDES) $(CFLAGS) -MF $(OBJDIR)/lauxlib.d -MT "$@" -o "$@" -c "$<"
 
 -include $(OBJECTS:%.o=%.d)
--include $(GCH:%.h.gch=%.h.d)
\ No newline at end of file
+-include $(GCH:%.h.gch=%.h.d)
